package com.sugar.queryinfo.module.business.controller.admin.apitypeinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - API类型 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ApiTypeInfoRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2775")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "API名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("API名称")
    private String name;

    @Schema(description = "API单次调用价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "10687")
    @ExcelProperty("API单次调用价格")
    private BigDecimal price;

    @Schema(description = "状态（1启用 0禁用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "10687")
    private Boolean status;

    /**
     * 是否在数据查询列表显示（0否 1是）
     */
    private Boolean showDataQuery;
    /**
     * 是否在智能审核页显示（0否 1是）
     */
    private Boolean showAudit;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;
    /**
     * 排序
     */
    private Integer sort;
}
